.camera-content {
  height: calc(100% - 10px);
}
.camera-list {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  overflow-y: scroll;
  display: grid;
  grid-template-columns: repeat(3, calc((100% - 20px) / 3));
  grid-column-gap: 10px;
  grid-auto-rows: 100px;
  grid-row-gap: 10px;
  .camera-item {
    position: relative;
    cursor: pointer;
    img {
      width: 100%;
      height: 100%;
    }
    .camera-title {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 30px;
      line-height: 30px;
      background-color: #333b;
      color: #fff;
      padding: 0 10px;
      z-index: 1;
      font-size: 14px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      word-break: break-all;
    }
  }
}

/* 为 WebKit 浏览器自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
